package com.twu.biblioteca;


public class MovieStatus {
     private int noOfCopies;
     private Movie movie;

    public MovieStatus(Movie movie,int noOfCopies) {
        this.noOfCopies = noOfCopies;
        this.movie = movie;
    }

    public int getNoOfCopies() {
        return noOfCopies;
    }

    public Movie getMovie() {
        return movie;
    }

    public void checkOutMovie() {
        this.noOfCopies-=1;
    }


    public void returnMovie() {
        this.noOfCopies+=1;
    }
}
